package com.browner.helloworld;import java.util.*;public class MainUnmaintain{public static void main(String[]args){String s=getS();System.out.println("Hello "+s+"!");}static String getS(){System.out.print("Who would you like to say hello to?\n> ");Scanner in=new Scanner(System.in);String result=in.nextLine();in.close();return result;}}